Power Negotiation State

This feature is supported only on FX series readers. The FX Reader’s Power Negotiation State can be configured to either Enable or Disable. While in Enable mode, the Power negotiation can be done either in cisco switch or in any other switch. While in Disable mode, the Power negotiation will not take place. The property PowerNegotiationState can be used for getting or setting this information.

 

            try

            {

                // Get Power Negotiation Info

                bool powerNegotiationState = rm.PowerNegotiationState;

                Console.WriteLine("Current Info of power negotiation state is       : " + powerNegotiationState.ToString() +

                // Set Power Negotiation Info

 

                bool newPowerNegotiationState = true;

                rm.PowerNegotiationState = newPowerNegotiationState;

            }

            catch (OperationFailureException exception)

            {

                Console.WriteLine("power negotiation state failed " + exception.Message);

            }

Power Negotiation Status

Power Negotiation Status

This feature is supported only on FX series readers. The FX Reader’s The Power Negotiation Status can be checked using this API, the power negotiation status can be among one of the following:

1.Succeeded: when power negotiation is completed.

2.Ongoing: when power negotiation is in progress.

3.Disabled: when power negotiation state is disabled.

4.Failure: when power negotiation Failed.

5.Not Applicable: when reader is not connected to CDP/LLDP enabled switch.

The property
powerNegotiationStatus can be used for getting this information.

 

            try

            {

                // Get Power Negotiation Status

                POWER_NEGOTIATION_STATUS powerNegotiationStatus = rm.PowerNegotiationStatus;

                Console.WriteLine("Current Power Negotiation Status is       : " + powerNegotiationStatus.ToString() +

            }

            catch (OperationFailureException exception)

            {

                Console.WriteLine("power negotiation status failed " + exception.Message);

            }